<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>二维码生成</title>
    <script type="text/javascript" src='__PUBLIC__/js/qrcode.js'></script>
    <script type="text/javascript" src='__PUBLIC__/js/Base.js'></script>
    <script type="text/javascript" src='__PUBLIC__/js/prototype.js'></script>
    <script type="text/javascript" src='__PUBLIC__/js/mootools.js'></script>

</head>
<body>
    <center>
    </center>
    <div align="center" id="qrcode">
    </div>
    
    <div align="center">
        <p>订单号:{$outTradeNo}</p>
    </div>
    <br>
    </div>
    <br>
</body>
    <script>
            var url = "<?php echo $qrcode ?>";
            //参数1表示图像大小，取值范围1-10；参数2表示质量，取值范围'L','M','Q','H'
            var qr = qrcode(10, 'H');
            qr.addData(url);
            qr.make();
            var wording=document.createElement('p');
            wording.innerHTML = "支付宝支付";
            var code=document.createElement('DIV');
            code.innerHTML = qr.createImgTag();
            var element=document.getElementById("qrcode");
            element.appendChild(wording);
            element.appendChild(code);
       
    </script>
</html>
</html>